package ai;

import util.List;
import ai.engine.AIUnit;

public class GroupOfUnits implements Localizable {

	public List units;

	public GroupOfUnits(List units) {
		this.units = units;
	}

	public short getX(){
		return ((AIUnit)units.get(0)).getX();		
	}
	
	public short getY(){
		return ((AIUnit)units.get(0)).getY();		
	}

	public String toString() {
		// TODO to string
		return new StringBuffer("GroupOfUnits").toString();
	}

}
